package test.form;

import struts.form.ActionForm;

/**
 * 
 * 
 * @author zhouhong
 * @date 2014-9-21 新建
 */
public class LoginForm extends ActionForm implements Comparable{
	public LoginForm(){
		
	}
	public LoginForm(String username,String password){
		this.username = username;
		this.password = password;
	}
	
	private String username;
	private String password;
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	public String toString()
	{
		return "username = " + username + " || password = " + password;
	}
	@Override
	public int compareTo(Object o) {
		// TODO Auto-generated method stub
		return 0;
	}
	public boolean equals(Object o)
	{
		return false;
	}
}
